Search found 15 matches
- 19 March 2007, 18:22 PM
- Forum: ZBasic Language
- Topic: array example
- Replies: 3
- Views: 7698
- 17 March 2007, 14:18 PM
- Forum: ZBasic Language
- Topic: array example
- Replies: 3
- Views: 7698
array example
Could somebody please give me an example of how to access the contents of an array? I have the following: someNumbers(12345, 56456, 123432, 12324) I would like to use this array in a loop and iterate through it, but when I try to access an individual index I get an error. For example: For counter = ...
- 11 March 2007, 8:43 AM
- Forum: ZBasic IDE
- Topic: ZbasicIDE on Linux Kubuntu
- Replies: 0
- Views: 6061
ZbasicIDE on Linux Kubuntu
Zbasic IDE 1.62 works well with Wine-0.9.32, on Kubuntu 6.10. I upgraded my version of Wine and installed the IDE and everything seems to be working wonderful so far. Originally I was having issues with com1, but a simple upgrade of Wine fixed everything. I am running an AMD-64. The only trick was t...
- 09 March 2007, 21:44 PM
- Forum: ZBasic Language
- Topic: dimentional array
- Replies: 4
- Views: 6416
Oops..... No, I do want a 5 dimensional array. Two was a typo. I need a 5 dimensional array, which contains five arrays. Each array within the 5-dimensional array must hold two values. Dim intervals (1 To 2, 1 To 2, 1 To 2, 1 To 2, 1 To 2) As UnsignedInteger How can I put values into the internal ar...
- 09 March 2007, 19:56 PM
- Forum: ZBasic Language
- Topic: dimentional array
- Replies: 4
- Views: 6416
dimentional array
Learning new languages is always fun....lol I am having an issue with a two-dimensional array. I have the following code: 'array for intervals params of OutputCaptureEX Dim intervals (1 To 2, 1 To 2, 1 To 2, 1 To 2, 1 To 2) As UnsignedInteger How do I go about populating each individual index within...
- 07 March 2007, 11:53 AM
- Forum: ZBasic Language
- Topic: low battery alarm
- Replies: 1
- Views: 5806
low battery alarm
How can I go about checking for a low battery on a ZX-24a via Zbasic?
- 06 March 2007, 14:42 PM
- Forum: ZBasic IDE
- Topic: Compiling Problem
- Replies: 5
- Views: 7360
- 06 March 2007, 12:51 PM
- Forum: ZBasic IDE
- Topic: Compiling Problem
- Replies: 5
- Views: 7360
- 06 March 2007, 12:50 PM
- Forum: ZBasic IDE
- Topic: Compiling Problem
- Replies: 5
- Views: 7360
- 06 March 2007, 10:16 AM
- Forum: ZBasic IDE
- Topic: Compiling Problem
- Replies: 5
- Views: 7360
Compiling Problem
I have created a project with two files: navigation.bas, and directions.bas Whenever I try to compile the project, the actual contents of the directions.bas file gets overwritten with the following data: ===== file: navigation.bas 0000 10a000 LODSP 0x00a0 (160) 0003 1b1100 PSHI_W 0x0011 (17) 0006 1b...
- 05 March 2007, 10:00 AM
- Forum: ZBasic Language
- Topic: Timing
- Replies: 4
- Views: 6856
- 05 March 2007, 8:52 AM
- Forum: ZBasic Language
- Topic: Timing
- Replies: 4
- Views: 6856
Timing
How much time should I generally allow for code overhead? For example, the following code in a BS2 would run for 4.6 seconds. Thus, turning the servo for 4.6sec. One time through the loop = 1.7 ms + 20 ms + 1.3 ms = 23.0 ms. FOR counter = 1 TO 200 PULSOUT 13, 850 PAUSE 20 NEXT Parallax recommends 1....
- 02 March 2007, 17:46 PM
- Forum: ZBasic Language
- Topic: 1ms in ZBasic
- Replies: 7
- Views: 7722
- 02 March 2007, 7:03 AM
- Forum: ZBasic Language
- Topic: 1ms in ZBasic
- Replies: 7
- Views: 7722
- 01 March 2007, 20:47 PM
- Forum: ZBasic Language
- Topic: 1ms in ZBasic
- Replies: 7
- Views: 7722
1ms in ZBasic
I just learned Pbasic and I am now working on learning Zbasic by converting some of my BS2 programs to my ZX-24a. I am bumping into some issues though. Some I have figured out some I have not. How can I create a time of 1ms in zbasic to use with the FreqOut command? There are several other instances...