You are hereMonthly archive / July 2010
July 2010
fme.bas
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | var curfile = command() if curfile = "" then print "FreeBASIC Macro Expander Deluxe Version 1" print "Usage: fme [module]" print "[module] is the name of your file without extension." print "fme will automatically compile your file with -g and -r" print "then print the contents with macros expanded." print "fbc must be in your path or the local dir for this to work." print "Look for:" print " [Macro Expansion: your macro expanded here ]" print end 42 end if var basfile = curfile & ".bas" var asmfile = curfile & ".asm" var outstr = "" shell "fbc -g -r " & basfile |
Rules and Regulations
Creating a welcoming environment is the number one goal at Mud's Magical Emporium. To reach this goal we ask that you follow these simple rules when posting:
- Be respectful. Trolls will not be tolerated. The ban-hammer will reach those warned quickly if they do not change their ways.
- If you can't say it on television in the United States you shouldn't say it here. Coders of all ages can view this site and some of us older folks don't like to hear it :D
