- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need to use the compiler directive "assume:byterecl" for just one of my source files. Is there any way I can place it in the source code for that file rather than as a command line option in my VS project? I apologise in advance if this is a dumb question.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't think there is a compiler directive for that but I may be wrong.In Visual Studio (if you use that) you can right click on a specuifc source file in solution explorer and customise compiler options for that specific file if that helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have been doing what you suggested but I'd rather put it in the source code if possible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is no directive equivalent (Equivalent Compiler Options) available but try the OPTIONS statement. You can insert a statement like this:
OPTIONS /assume:byterecl

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page