tableField . . . refering to columns

Bob Sneidar bobsneidar at iotecdigital.com
Thu Nov 3 21:41:40 CET 2016


Did explicit variables get turned on? I have had my explicit variables turned on without my assistance 3 times in the last 2 days. LC 8.1.1

Bob S


> On Nov 3, 2016, at 13:14 , Randy Hengst <iowahengst at mac.com> wrote:
> 
> What is “column 1” in your mouseUp handler? As far as I know that doesn’t refer to a reserved word in LC… so that will cause a bump in the code.
> 
> What do you get if you replace that line of code with:
> answer item 1 of PREE1
> 
> be well,
> randy
> 
> 
> 
>> On Nov 3, 2016, at 1:54 PM, Richmond <richmondmathewson at gmail.com> wrote:
>> 
>> So: I have a "^" delimited textFile (.CSV) that I imported into a conventional textField ("fPRE")
>> and then tried to do this:
>> 
>> on mouseUp
>>  set the itemDelimiter to "^"
>>  put line 1 of fld "fPRE" into PREE1
>>  put item 1 of PREE1 into column 1 of line 1 of fld "fTF"
>> end mouseUp
>> 
>> line 1 if fld "fPRE" contains this "2^45^9^1113"
>> 
>> I wonder why this throws a "bluey":
>> 
>> button "Button": compilation error at line 4 (Handler: bad command) near "1", char 30
>> 
>> OR . . . to put things another way: How does one refer to columns in a tableField?
>> 
>> Richmond.
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list