Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Misc > Re: Chipmunk Ba...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 61 of 94 Topic 1291 of 1620
Post > Topic >>

Re: Chipmunk Basic arrays (Attn: Ron Nicholson)

by winston19842005 <bjjlyates@[EMAIL PROTECTED] > Sep 5, 2007 at 08:02 PM

On 9/5/07 6:36 PM, in article 6s9ud39bu2t1f6j2rg058npnucor0qokd5@[EMAIL PROTECTED]
"ArarghMail709NOSPAM@[EMAIL PROTECTED]
"
<ArarghMail709NOSPAM@[EMAIL PROTECTED]
> wrote:

> On 05 Sep 2007 20:55:27 GMT, "Auric__" <not.my.real@[EMAIL PROTECTED]
>
> wrote:
> 
> <snip>
>>> The MS 16-Basics do have a default DEFtype, so you need to specify
>>> something, unless you really want SINGLE.  I think that the later
>>> GUI VBs default to Varient (4,5,6).  I don't know about 1,2,3.
>> 
>> What I meant was, unless I use one of the DEFtype commands (DEFLNG or
>> whatever), what I get is compiler-dependant (single in QB & older,
>> variant in VB, long (I think) in PB/Win, etc.).
> 
> I guess we were both saying the same thing, but in different ways.
> 
>>> While BCET doesn't have any '#ifdef' kind of preprocessor ability,
>>> it does have a feature that allows somewhat of the same abilities.
>>> 
>>> for example:
>>> 
>>> REM $Ignore: #
>>>      totally ignores the next # lines.
>> 
>> That's absolutely awesome. What's the limit for # ?
> 2^32-1  :-)
> 
> However, it's not really useful for more than a few lines, BECAUSE,
> you have to remember to change it if you add or delete lines in its
> range.  I was working on a "$Ignore: Begin" and "$Ignore: END", but
> that doesn't work yet.
> 
> There is also an "REM $Ignore: SUB" version, which when included in
> front of a SUB or FUNCTION statement, totally ignores the entire sub
> or function.
> 

All this reminds me of TI Extended Basic's pre-scan functions (which
aren't
in the manual, only included in an addendum.)

TI Basics on the TI-99 pre-scans the program, to do various things
including
checking syntax (do FOR/NEXTs match?, generated symbol table for
variables,
etc - all an effort to speed up what would otherwise be a VERY slow
interpreter to just a slow interpreter). Anyway, the pre-scan can take
some
time, some programs I remember took over 30 seconds to almost a minute
before they'd start running, as the ENTIRE program is pre-scanned.

The addendum described the ability to turn off/on the pre-scan, using
!@[EMAIL PROTECTED]
 respectively.

There were some rules, including variables had to be pre-scanned, CALLs,
first DATA statement. A good way to do this kind-of enforced "declaring"
(sort of) your variables at the top of the program. Also, you would turn
on
pre-scanning before your SUBprograms.

10 goto 100
20 ! Section for pre-scan
30 a,b,c=0::a$,b$,c$=""::CALL CLEAR::CALL SOUND::CALL COLOR ! Syntax
doesn't
matter here
40 DATA 0,1,2,3
50 !@[EMAIL PROTECTED]
 ! Turn off pre-scan
100 ! Rest of program
..
..
..
999 !@[EMAIL PROTECTED]
 ! Turn on pre-scan for SUBs
1000 SUB MENU
..
..
..
32000 SUBEND ! End of subs
 




 94 Posts in Topic:
Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-04 18:07:21 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"news@[EMAIL PROTECT  2007-09-04 12:28:11 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-04 19:02:33 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
ArarghMail709NOSPAM@[EMAI  2007-09-04 17:00:44 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-04 22:29:44 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
ArarghMail709NOSPAM@[EMAI  2007-09-04 19:06:08 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
ArarghMail709NOSPAM@[EMAI  2007-09-05 00:27:08 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-05 15:20:42 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
ArarghMail709NOSPAM@[EMAI  2007-09-05 14:45:44 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-06 23:21:51 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Tom Lake" <  2007-09-04 15:30:55 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-04 19:05:37 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"R.Nicholson" &  2007-09-04 12:55:13 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-04 19:13:14 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"carlg@[EMAIL PROTEC  2007-09-24 17:57:34 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-25 16:26:16 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Tom Lake" <  2007-09-25 13:29:50 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-25 17:12:12 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
winston19842005 <bjjly  2007-09-25 14:09:02 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Judson McClendon&qu  2007-09-25 14:16:40 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
Adam <no@[EMAIL PROTEC  2007-09-25 16:58:48 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Judson McClendon&qu  2007-09-25 16:23:59 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
Adam <no@[EMAIL PROTEC  2007-09-25 18:08:58 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Judson McClendon&qu  2007-09-26 05:50:55 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
Adam <no@[EMAIL PROTEC  2007-09-26 11:28:27 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Judson McClendon&qu  2007-09-26 10:53:44 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Judson McClendon&qu  2007-09-26 12:55:14 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
Adam <no@[EMAIL PROTEC  2007-09-26 14:38:54 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-26 15:38:41 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-25 23:15:11 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
ArarghMail709NOSPAM@[EMAI  2007-09-25 19:31:28 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-26 15:10:11 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
Adam <no@[EMAIL PROTEC  2007-09-25 23:58:32 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-26 15:37:13 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
Adam <no@[EMAIL PROTEC  2007-09-26 14:24:14 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-26 18:28:09 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"news@[EMAIL PROTECT  2007-09-26 13:26:28 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
Adam <no@[EMAIL PROTEC  2007-09-26 18:51:00 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"R.Nicholson" &  2007-09-26 15:30:33 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
Adam <no@[EMAIL PROTEC  2007-09-25 14:26:48 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
winston19842005 <bjjly  2007-09-25 15:10:22 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-25 22:55:44 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"news@[EMAIL PROTECT  2007-09-26 11:59:55 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
Adam <no@[EMAIL PROTEC  2007-09-26 15:27:43 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"R.Nicholson" &  2007-09-26 11:53:23 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-26 18:31:06 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Tom Lake" <  2007-09-26 15:22:51 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"R.Nicholson" &  2007-09-04 13:13:58 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-04 21:01:18 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"R.Nicholson" &  2007-09-04 13:16:23 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-04 21:00:09 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"R.Nicholson" &  2007-09-04 16:49:47 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-05 15:00:57 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"R.Nicholson" &  2007-09-04 17:38:21 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"R.Nicholson" &  2007-09-04 17:59:29 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"R.Nicholson" &  2007-09-05 09:55:35 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-05 19:12:49 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
ArarghMail709NOSPAM@[EMAI  2007-09-05 16:18:22 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-05 20:55:27 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
ArarghMail709NOSPAM@[EMAI  2007-09-05 17:36:57 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
winston19842005 <bjjly  2007-09-05 20:02:08 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
ArarghMail709NOSPAM@[EMAI  2007-09-05 23:43:47 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-06 15:07:41 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
ArarghMail709NOSPAM@[EMAI  2007-09-06 16:54:46 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-06 23:05:39 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
ArarghMail709NOSPAM@[EMAI  2007-09-06 22:14:33 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
ArarghMail709NOSPAM@[EMAI  2007-09-06 23:53:16 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-07 14:00:38 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
ArarghMail709NOSPAM@[EMAI  2007-09-07 17:43:11 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
ArarghMail709NOSPAM@[EMAI  2007-09-07 18:58:21 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"news@[EMAIL PROTECT  2007-09-26 09:57:34 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
Adam <no@[EMAIL PROTEC  2007-09-26 14:34:36 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
Adam <no@[EMAIL PROTEC  2007-09-26 19:11:33 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"news@[EMAIL PROTECT  2007-09-26 10:11:05 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"R.Nicholson" &  2007-09-05 17:42:16 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"R.Nicholson" &  2007-09-05 17:49:15 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-06 15:03:36 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
Eric <englere_geo@[EMA  2007-09-06 14:29:19 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-06 23:16:16 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Judson McClendon&qu  2007-12-14 07:34:38 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-12-14 17:53:48 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
winston19842005 <bjjly  2007-12-14 12:54:14 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-12-14 18:10:06 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
winston19842005 <bjjly  2007-12-14 13:34:56 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Judson McClendon&qu  2007-12-14 13:08:25 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-12-14 19:49:31 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Judson McClendon&qu  2007-12-14 12:57:46 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
Happy Trails <nomail@[  2007-12-15 09:54:38 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Judson McClendon&qu  2007-12-15 04:46:47 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"news@[EMAIL PROTECT  2007-09-07 02:00:18 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-09-07 14:05:12 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
The Translucent Amoebae &  2007-10-01 22:42:01 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Auric__" <n  2007-10-02 14:15:02 
Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
"Stephen J. Rush&quo  2007-10-02 06:07:34 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 14:42:28 CST 2008.