Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Library help
#1
Anyone know where I can find a cute librarian? Oops, wrong forum...

I'm finding I'd like to have several shorter libraries, rather than combined functions made into a single libraries. For example, I can have a single gui library that creates a form, allows user selection and input, and produces menus, or...

I can have...

Keyboard / Mouse library
Menu library
Form library
Input Text library

What's cool is each of the above could be ported to other apps.

So here's my options...

1) Each library loads the DIM SHARD statements into the main.

2) I have to pass all variables from every library I create, regardless if libraries I include in my app only use some of those variables and arrays.

Frankly I'm leaning towards option 1. To get around naming issues, I'd go with naming the variables in relation to the library they are best associated with like MyMenuChoices$, etc.

What do you guys think or do?

Pete
Reply


Messages In This Thread
Library help - by Pete - 12-21-2022, 08:22 PM
RE: Library help - by bplus - 12-21-2022, 09:12 PM
RE: Library help - by Pete - 12-21-2022, 09:26 PM
RE: Library help - by SpriggsySpriggs - 12-21-2022, 09:36 PM
RE: Library help - by Pete - 12-21-2022, 10:04 PM
RE: Library help - by Kernelpanic - 12-21-2022, 10:10 PM
RE: Library help - by Pete - 12-21-2022, 10:18 PM
RE: Library help - by SMcNeill - 12-22-2022, 01:01 AM
RE: Library help - by SpriggsySpriggs - 12-21-2022, 10:11 PM
RE: Library help - by Pete - 12-21-2022, 10:16 PM
RE: Library help - by Kernelpanic - 12-21-2022, 10:34 PM
RE: Library help - by Pete - 12-22-2022, 12:31 AM
RE: Library help - by Pete - 12-22-2022, 02:27 AM
RE: Library help - by johnno56 - 12-22-2022, 08:28 AM
RE: Library help - by Pete - 12-22-2022, 09:03 AM
RE: Library help - by Pete - 12-22-2022, 03:48 PM



Users browsing this thread: 1 Guest(s)