Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Methods in types
#4
Put a string in the user defined type.
Store code in that string.
Write an interpreter that can run the code in that string. 
Make sure to check that code with your main program and have the results of any code it executes be responded to.
Tada ...you have methods.
Reply


Messages In This Thread
Methods in types - by bobalooie - 01-17-2025, 01:02 AM
RE: Methods in types - by mcalkins - 01-22-2025, 05:38 AM
RE: Methods in types - by bobalooie - 01-30-2025, 07:45 PM
RE: Methods in types - by hsiangch_ong - 01-22-2025, 05:50 AM
RE: Methods in types - by James D Jarvis - 01-25-2025, 04:36 PM
RE: Methods in types - by hsiangch_ong - 01-26-2025, 12:26 AM
RE: Methods in types - by bplus - 01-26-2025, 12:08 AM
RE: Methods in types - by Pete - 01-30-2025, 08:00 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Arrays inside Types? Ikerkaz 11 294 3 hours ago
Last Post: Kernelpanic
  C++ types > QB64 types: do we have an equivalent QB64PE page? madscijr 5 1,116 06-01-2024, 03:44 AM
Last Post: grymmjack
  Declaring Functions AS TYPEs TerryRitchie 14 2,822 08-17-2023, 12:41 AM
Last Post: bplus

Forum Jump:


Users browsing this thread: