Changeset 2652 for trunk/src/netlabs/macros/linkcmds.e
- Timestamp:
- Nov 15, 2015, 8:00:26 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/netlabs/macros/linkcmds.e ¶
r2434 r2652 74 74 75 75 if rc < 0 then 76 call winmessagebox( UNABLE_TO_LINK__MSG '"'modulename'", rc = 'rc ,76 call winmessagebox( UNABLE_TO_LINK__MSG '"'modulename'", rc = 'rc'.', 77 77 ErrorText, 78 78 16416) -- OK + ICON_EXCLAMATION + MB+MOVEABLE … … 92 92 waslinkedrc = linked( modulename) 93 93 if waslinkedrc >= 0 then -- >= 0, then it's the number in the link history 94 ErrorText = 'Module "'modulename'" already linked as module #'waslinkedrc 94 ErrorText = 'Module "'modulename'" already linked as module #'waslinkedrc'.' 95 95 xrc = 0 -- if already linked 96 96 … … 116 116 -- sometimes also rc = (null) is returned on success. 117 117 if linkedrc = -307 then 118 ErrorText = 'Module "'modulename'" not linked, file not found '118 ErrorText = 'Module "'modulename'" not linked, file not found.' 119 119 elseif linkedrc = -308 then 120 ErrorText = 'Module "'modulename'" not linked, invalid filename '120 ErrorText = 'Module "'modulename'" not linked, invalid filename.' 121 121 elseif linkedrc < 0 then 122 122 -- Use linkrc, because it's more detailed. linked() returns only 123 123 -- >=0, -1, -307, -308, while link returns some more like -290. 124 ErrorText = 'Module "'modulename'" not linked, 'sayerrortext(linkrc) 124 ErrorText = 'Module "'modulename'" not linked, 'sayerrortext(linkrc)'.' 125 125 else 126 126 ErrorText = LINK_COMPLETED__MSG''linkedrc' "'modulename'"' … … 219 219 if unlinkrc then 220 220 if unlinkrc = -310 then 221 sayerror 'Module "'FullPathName'" not unlinked, unknown module '221 sayerror 'Module "'FullPathName'" not unlinked, unknown module.' 222 222 elseif unlinkrc = -301 then 223 sayerror 'Module "'FullPathName'" not unlinked, module in use (better restart EPM) '223 sayerror 'Module "'FullPathName'" not unlinked, module in use (better restart EPM).' 224 224 elseif unlinkrc = -302 then 225 sayerror 'Module "'FullPathName'" not unlinked, defined keyset in use (better restart EPM)' 226 else 227 sayerror 'Module "'FullPathName'" not unlinked, rc = 'unlinkrc 228 endif 225 sayerror 'Module "'FullPathName'" not unlinked, defined keyset in use (better restart EPM).' 226 else 227 sayerror 'Module "'FullPathName'" not unlinked, rc = 'unlinkrc'.' 228 endif 229 else 230 sayerror 'Module "'FullPathName'" successfully unlinked.' 229 231 endif 230 232
Note:
See TracChangeset
for help on using the changeset viewer.