Re: Converting bytes

new topic     » goto parent     » topic index » view thread      » older message » newer message
ghaberek said...
jmduro said...
doncCcole said...

Could you repost your code in the 3.1 form?

It is not that complicated to convert Eu 4 code. Here it is:

I think you're missing an else here:

suffix = SUFFIX[index]  
if index > 1 then  
  if ( ftype = FORMAT_BN ) then  
    suffix &= "iB" 
  else -- <-- was missing 
    suffix &= "B"  
  end if  
end if 

-Greg

Thank for that suggestion.

The problem I'm having is:

E:\EU\myInclude\console.e:6
namespace has not been declared
namespace console

Thanks again, Don Cole

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu