Commit 3c70c894 authored by rswindell's avatar rswindell
Browse files

Add STR @-code, to display the current Baja/PCMS command string value.

parent 650f66e5
......@@ -939,6 +939,10 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen, long* pmode)
return(nulstr);
}
if(strcmp(sp,"STR") == 0) {
return main_csi.str;
}
if(!strncmp(sp,"EXEC:",5)) {
exec_bin(sp+5,&main_csi);
return(nulstr);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment