Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
define argument types in subs
#28
I guess whatever practice works for people is best Big Grin

For me, whenever I create a variable, I already know what its type is and I don't have to refer to its declaration. With older code, if I've forgotten what type it is, I look at how I used it. I also rarely use SINGLEs or DOUBLEs, and LONGs are only used for things I know I'll need the space for. In VB, I use BYTEs whenever I need very small values, plus in VB, you can just right-click and get Quick Info on the variable to get its type if you don't know what it is. Of course, you can also hit F1 with the cursor on the variable in the QB IDE for a similar effect. Smile
I'd knock on wood, but my desk is particle board.
Reply


Messages In This Thread
define argument types in subs - by banAnnA - 02-12-2004, 08:34 PM
define argument types in subs - by Agamemnus - 02-12-2004, 08:36 PM
define argument types in subs - by TheBigBasicQ - 02-12-2004, 09:11 PM
define argument types in subs - by RST - 02-13-2004, 03:14 AM
define argument types in subs - by TheBigBasicQ - 02-13-2004, 12:39 PM
define argument types in subs - by Neo - 02-13-2004, 02:44 PM
define argument types in subs - by TheBigBasicQ - 02-13-2004, 02:46 PM
define argument types in subs - by Neo - 02-13-2004, 02:48 PM
define argument types in subs - by TheBigBasicQ - 02-13-2004, 02:50 PM
define argument types in subs - by Neo - 02-13-2004, 02:53 PM
define argument types in subs - by TheBigBasicQ - 02-13-2004, 02:54 PM
define argument types in subs - by Neo - 02-13-2004, 02:59 PM
define argument types in subs - by TheBigBasicQ - 02-13-2004, 03:01 PM
define argument types in subs - by Neo - 02-13-2004, 03:03 PM
define argument types in subs - by TheBigBasicQ - 02-13-2004, 03:06 PM
define argument types in subs - by Neo - 02-13-2004, 05:11 PM
define argument types in subs - by Phydaux - 02-13-2004, 09:07 PM
define argument types in subs - by relsoft - 02-14-2004, 10:49 AM
define argument types in subs - by TheBigBasicQ - 02-15-2004, 01:21 PM
define argument types in subs - by Phydaux - 02-15-2004, 06:56 PM
define argument types in subs - by Neo - 02-15-2004, 06:58 PM
define argument types in subs - by TheBigBasicQ - 02-15-2004, 08:18 PM
define argument types in subs - by na_th_an - 02-15-2004, 11:33 PM
define argument types in subs - by TheBigBasicQ - 02-15-2004, 11:44 PM
define argument types in subs - by adosorken - 02-15-2004, 11:48 PM
define argument types in subs - by na_th_an - 02-15-2004, 11:56 PM
define argument types in subs - by TheBigBasicQ - 02-16-2004, 12:45 AM
define argument types in subs - by adosorken - 02-16-2004, 03:02 AM
define argument types in subs - by na_th_an - 02-16-2004, 03:12 AM
define argument types in subs - by TheBigBasicQ - 02-16-2004, 08:42 PM
define argument types in subs - by adosorken - 02-16-2004, 08:46 PM
define argument types in subs - by TheBigBasicQ - 02-16-2004, 08:54 PM
define argument types in subs - by adosorken - 02-16-2004, 09:10 PM
define argument types in subs - by TheBigBasicQ - 02-18-2004, 12:29 AM
define argument types in subs - by Dr_Davenstein - 02-24-2004, 10:46 AM
define argument types in subs - by TheBigBasicQ - 02-24-2004, 04:15 PM
define argument types in subs - by Neo - 02-25-2004, 04:47 PM
define argument types in subs - by KiZ - 02-25-2004, 10:00 PM
define argument types in subs - by na_th_an - 02-25-2004, 10:04 PM
define argument types in subs - by KiZ - 02-25-2004, 10:11 PM
define argument types in subs - by na_th_an - 02-25-2004, 10:30 PM
define argument types in subs - by KiZ - 02-25-2004, 10:33 PM
define argument types in subs - by TheBigBasicQ - 02-28-2004, 01:57 PM
define argument types in subs - by KiZ - 02-29-2004, 02:59 AM
define argument types in subs - by TheBigBasicQ - 02-29-2004, 01:14 PM
define argument types in subs - by relsoft - 03-01-2004, 11:20 AM
define argument types in subs - by TheBigBasicQ - 03-01-2004, 11:35 AM
define argument types in subs - by relsoft - 03-01-2004, 11:52 AM
define argument types in subs - by TheBigBasicQ - 03-01-2004, 11:54 AM
define argument types in subs - by oracle - 03-02-2004, 01:33 AM
define argument types in subs - by TheBigBasicQ - 03-02-2004, 06:50 PM
define argument types in subs - by oracle - 03-03-2004, 12:25 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)