Post Reply 
50g multiple output
01-10-2022, 12:16 PM
Post: #14
RE: 50g multiple output
(01-10-2022 11:45 AM)oierpa Wrote:  But in program o3 and o4 of DavidM I've some errors during execution (in o4 I've "-> NUM error" and in o3 "* ERROR: undefined name").

I just typed same program.

Just a guess: did you first create the global variables A, B, and C before executing the programs? See the note at the beginning of the code listings: In this situation, I have created 3 global variables (A B C) and stored the values (4 5 6) into them. Then each of the following programs is executed...

Part of what I was trying to convey here is what happens when you already have global variables defined when running code with locals using the same names.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
50g multiple output - oierpa - 12-03-2021, 03:43 PM
RE: 50g multiple output - DA74254 - 12-03-2021, 09:44 PM
RE: 50g multiple output - Joe Horn - 12-03-2021, 10:42 PM
RE: 50g multiple output - oierpa - 12-04-2021, 08:13 AM
RE: 50g multiple output - nlj - 12-05-2021, 02:35 PM
RE: 50g multiple output - oierpa - 12-05-2021, 06:23 PM
RE: 50g multiple output - John Keith - 12-06-2021, 12:39 PM
RE: 50g multiple output - oierpa - 12-06-2021, 02:36 PM
RE: 50g multiple output - nlj - 12-06-2021, 05:59 PM
RE: 50g multiple output - oierpa - 12-10-2021, 06:53 PM
RE: 50g multiple output - nlj - 12-11-2021, 02:18 AM
RE: 50g multiple output - DavidM - 12-11-2021, 02:45 PM
RE: 50g multiple output - oierpa - 01-10-2022, 11:45 AM
RE: 50g multiple output - DavidM - 01-10-2022 12:16 PM



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