When I run this code:
openfile "Macintosh HD:Sundry docs:Panorama stuff: Panorama X:PanX documentation:StoreRoom.pandb" message "File is open" message call("Macintosh HD:Sundry docs:Panorama stuff: Panorama X:PanX documentation:StoreRoom.pandb","test")
The file opens, the “File is open” message appears and I get an error message:
The file paths are copied and pasted so there’s no typing error. Presence or absence of the file name extension makes no difference. The Panorama X folder name begins with a space but I get the same result for other paths with no spaces. Using slash separators instead of colons makes no difference. the presence or absence of a
functionvalue statement in the target procedure makes no difference.
Am I doing something wrong or is this yet another example of my machine’s bizarre behaviour?