Search found 2 matches

by EricE
Tue Aug 09, 2022 6:00 am
Forum: General category
Topic: Data statement
Replies: 1
Views: 17969

Re: Data statement

Here is a program that will intialize an array using data stored in strings. Note that FNXBasic stores arrays in column order. ------------------------------------------------------------ ' File: ArrayData.bas ' ' Filling a 6x13 byte array ' FNXBasic stores arrays by column '-------------------- ' c...
by EricE
Tue Aug 09, 2022 5:47 am
Forum: General category
Topic: Initializing arrays
Replies: 1
Views: 39594

Re: Initializing arrays

Hello Bob. Here is a program that will initialize the array. The MemCopy function is used to copy the data in the string arrays to the byte array. Eric ' Initializing arrays ' ' RapidQ example ' ' defbyte QTIL311ARRAY(0 to 15 , 0 to 19) = { _ ' 0,1,1,0,1,1,1,1,1,0,0,1,1,1,1,1,0,1,1,0, _ ' 0,0,0,1,0,...