In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Fe2o3Fish wrote: A simple little program as follows:[code] 001 DEVICE SX28, OSC4MHZ, TURBO, STACKX, OPTIONX 002 FREQ 4_000_000 003 ID "Foo" 004 005 Program Start 006 007 LED1 VAR RB.0 008 009 FOO VAR BYTE 010 011 Start: 012 FOO = 165 013 RANDOM FOO 014 015 Main: 016 LED1 = FOO & 1 017 PAUSE 500 ' delay 018 RANDOM FOO 019 GOTO Main ' repeat forever 020 021 END [/code] Compiling with SX-Key v3.2.3 (the latest version, under Windows XP) comes up with this error message: foo.SXB(54)Line 16, Error 16, Pass 1: UNKNOWN COMMAND "LET". Oh really??? I thought it might be the LE in LED1 bringing up the "LET" so I changed all LED1's to LAD1 and I get the same error message. The SX/B compiler seems to be a little loose on compiling as I've had other strange things happen like undefined variables being permitted by the compiler only to have the assembler burp on an undefined symbol called (which I don't use in my code). I'll report them when I find 'em as I start my adventure into SX/B coding. What's up? ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=228160 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)