Skip to content

Commit

Permalink
SCP: Add C style expression support for IF conditions and SET ENV -A
Browse files Browse the repository at this point in the history
Expression evaluation code provided by Gabriel Pizzolato.
  • Loading branch information
markpizz committed May 2, 2018
1 parent 8fe02ad commit 4e508cf
Show file tree
Hide file tree
Showing 4 changed files with 695 additions and 57 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ Device simulator authors can easily schedule their device polling activities to
SCREENSHOT filename.bmp Save video window to the specified file
SET ENV Name=Value Set Environment variable
SET ENV -p "Prompt" Name=Default Gather User input into an Environment Variable
SET ENV -a Name=Expression Evaluate an expression and store result in an Environment Variable
SET ASYNCH Enable Asynchronous I/O
SET NOASYNCH Disable Asynchronous I/O
SET VERIFY Enable command display while processing DO command files
Expand Down Expand Up @@ -358,6 +359,7 @@ Device simulator authors can easily schedule their device polling activities to
NOOP A no-op command
ON Establish or cancel an ON condition dispatch
IF Test some simulator state and conditionally execute commands
IF (C-style-expression) Test some simulator state and conditionally execute commands
CD Change working directory
SET DEFAULT Change working directory
PWD Show working directory
Expand Down
Binary file modified doc/simh_doc.doc
Binary file not shown.
Loading

0 comments on commit 4e508cf

Please sign in to comment.