I need to investigate portability for my Advanced Higher Computing project. Can a program written in true basic for PC be compiled to run in a Mac OS X environment? or can the executable just be copied over? thanks guys ps. i know truebasic is ancient, take it up with the school
with the right compiler and knowing which specific hardware switches need setting in the compiler it should be possible.. but I guarantee you will have to modify the source code to suit either the hardware or os instruction set.. There are books on the subject out there.. look for some about specifically compiling for windows and unix environments.. Porting from one platform to another is often more stressful than just writing new code from scratch.. after all you have the original as a guide.