Post Reply 
arg() crashes the emulator
02-25-2015, 07:22 PM
Post: #23
RE: arg() crashes the emulator
(02-25-2015 02:54 PM)Han Wrote:  
Code:
#cas
RETEXAMPLE():=
BEGIN
  IF 1>0 THEN
    return("Yes!");
  END;
  return("Reached end of program");
END;
#end

Also:
Code:

#cas
RETEXAMPLE():=
BEGIN
  IF 1>0 THEN
    return rr:=12;
  END;
  return(rr-2);
END;
#end

end with 10
but
Code:

#cas
RETEXAMPLE():=
BEGIN
  IF 1>0 THEN
    RETURN rr:=12;
  END;
  return(rr-2);
END;
#end
exit with 12...

So, return (lowercase) pass a value to the rest of the program, isn't it?

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
arg() crashes the emulator - Angus - 02-20-2015, 10:56 AM
RE: arg() crashes the emulator - salvomic - 02-20-2015, 11:28 AM
RE: arg() crashes the emulator - Angus - 02-20-2015, 11:49 AM
RE: arg() crashes the emulator - salvomic - 02-20-2015, 12:10 PM
RE: arg() crashes the emulator - dg1969 - 02-23-2015, 07:33 PM
RE: arg() crashes the emulator - Angus - 02-20-2015, 12:14 PM
RE: arg() crashes the emulator - salvomic - 02-20-2015, 12:25 PM
RE: arg() crashes the emulator - Angus - 02-20-2015, 12:31 PM
RE: arg() crashes the emulator - salvomic - 02-20-2015, 01:43 PM
RE: arg() crashes the emulator - Angus - 02-24-2015, 06:19 AM
RE: arg() crashes the emulator - Han - 02-24-2015, 12:21 PM
RE: arg() crashes the emulator - Angus - 02-24-2015, 01:15 PM
RE: arg() crashes the emulator - Han - 02-24-2015, 03:24 PM
RE: arg() crashes the emulator - Angus - 02-25-2015, 06:00 AM
RE: arg() crashes the emulator - salvomic - 02-25-2015, 08:47 AM
RE: arg() crashes the emulator - Han - 02-25-2015, 02:54 PM
RE: arg() crashes the emulator - salvomic - 02-25-2015, 07:01 PM
RE: arg() crashes the emulator - salvomic - 02-25-2015 07:22 PM
RE: arg() crashes the emulator - Angus - 02-25-2015, 03:02 PM
RE: arg() crashes the emulator - Han - 02-25-2015, 04:02 PM
RE: arg() crashes the emulator - Angus - 02-25-2015, 04:13 PM
RE: arg() crashes the emulator - Han - 02-25-2015, 04:18 PM
RE: arg() crashes the emulator - Angus - 02-25-2015, 04:25 PM



User(s) browsing this thread: 1 Guest(s)