We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Variables in Subroutines
#3
LitDev,
I am still trying to simplify the code to show what I am seeing.This isn't exactly it, but it runs in regular mode, but doesn't even start in debug. Why? The little o by txtSelect is a breakpoint.

JR

LoadDB()
TextWindow.WriteLine(ext)
while "True"
Program.Delay(20)
EndWhile

Sub LoadDB 'Load existing database

ext = "db" 'Filename extension for databases
o txtSelect = "Please open an existing database"
select = "open"

EndSub 'OpenDatabase
Reply


Messages In This Thread
Variables in Subroutines - by jrmrhrb00 - 12-08-2023, 12:49 AM
RE: Variables in Subroutines - by litdev - 12-08-2023, 12:58 PM
RE: Variables in Subroutines - by jrmrhrb00 - 12-08-2023, 05:52 PM
RE: Variables in Subroutines - by WhTurner - 12-08-2023, 06:13 PM
RE: Variables in Subroutines - by litdev - 12-08-2023, 07:03 PM
RE: Variables in Subroutines - by jrmrhrb00 - 12-08-2023, 07:31 PM
RE: Variables in Subroutines - by jrmrhrb00 - 12-09-2023, 12:19 AM
RE: Variables in Subroutines - by Scout - 12-09-2023, 08:10 AM
RE: Variables in Subroutines - by litdev - 12-09-2023, 10:08 AM
RE: Variables in Subroutines - by jrmrhrb00 - 12-09-2023, 12:18 PM
RE: Variables in Subroutines - by litdev - 12-09-2023, 07:04 PM
RE: Variables in Subroutines - by jrmrhrb00 - 12-09-2023, 07:34 PM
RE: Variables in Subroutines - by Scout - 12-11-2023, 10:39 AM
RE: Variables in Subroutines - by jrmrhrb00 - 12-11-2023, 07:16 PM
RE: Variables in Subroutines - by litdev - 12-16-2023, 12:01 PM
RE: Variables in Subroutines - by jrmrhrb00 - 12-16-2023, 01:59 PM
RE: Variables in Subroutines - by litdev - 12-16-2023, 03:41 PM
RE: Variables in Subroutines - by jrmrhrb00 - 12-16-2023, 04:41 PM
RE: Variables in Subroutines - by jrmrhrb00 - 12-18-2023, 11:24 PM
RE: Variables in Subroutines - by litdev - 12-19-2023, 11:24 AM
RE: Variables in Subroutines - by jrmrhrb00 - 12-19-2023, 01:36 PM

Forum Jump:


Users browsing this thread: 8 Guest(s)