13 lines
299 B
Text
13 lines
299 B
Text
// Input two values on single line in text format
|
|
Get_Input(10, "Enter two integers separated by a space: ")
|
|
|
|
// Extract two numeric values from the text
|
|
Buf_Switch(Buf_Free)
|
|
Reg_Ins(10)
|
|
BOF
|
|
#1 = Num_Eval(ADVANCE)
|
|
#2 = Num_Eval()
|
|
Buf_Quit(OK)
|
|
|
|
// Calculate and display the results
|
|
Num_Type(#1 + #2)
|