In SX Microcontrollers, SX/B Compiler and SX-Key Tool, tdg8934 wrote: I have a working PBASIC Lookup command: LOOKUP char,[Char_B,Char_S,Char_2,Char_Space],eeAddr1 and the Char_B (and other expressions(?)) references a DATA statement : : Char_B DATA %00000000 DATA %00000000 DATA %01111111 ' xxxxxxx DATA %01001001 ' x..x..x DATA %01001001 ' x..x..x DATA %01001001 ' x..x..x DATA %00110110 ' .xx.xx. DATA %00000000 DATA 0 Is it possible to convert this PBASIC LOOKUP statement into a SX/B LOOKUP statement (or will an elaborate routine need to be written)? SX/B statement.... LOOKUP char,Char_B,Char_S,Char_2,Char_Space,eeAddr2 : : Char_B: DATA %00000000 DATA %00000000 DATA %01111111 ' xxxxxxx DATA %01001001 ' x..x..x DATA %01001001 ' x..x..x DATA %01001001 ' x..x..x DATA %00110110 ' .xx.xx. DATA %00000000 DATA 0 I get an error....INVALID PARAMETER "Char_B" Bean? Somebody? Thanks. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=186716 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)