Forums before death by AOL, social media and spammers... "We can't have nice things"
|    sci.math.symbolic    |    Symbolic algebra discussion    |    10,432 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,423 of 10,432    |
|    Rosario19 to All    |
|    [Axiom] why that return type?    |
|    14 May 17 07:14:37    |
   
   From: Ros@invalid.invalid   
      
   (1) -> e(s:String,n:PI):Union(Character, ". failed")==(n>#s=>".   
   failed";s.n)   
    Function declaration e : (String,PositiveInteger) ->   
   Union(Character   
    ,. failed) has been added to workspace.   
      
   Type: Void   
   (2) -> e("123",1)   
    Compiling function e with type (String,PositiveInteger) -> Union(   
    Character,. failed)   
    Conversion failed in the compiled user function e .   
      
    Cannot convert from type String to Union(Character,. failed) for   
    value   
    "1"   
      
   (2) -> e("123",4)   
      
    (2) . failed   
    Type: Union(.   
   failed,...)   
      
   the problem would be in computation (2) what it have to print is 1   
   (Character) not "1" String   
      
   Where is my error?   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca