home bbs files messages ]

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,691 of 10,432   
   asetofsymbols@gmail.com to All   
   [Axiom] function for compare 2 string   
   12 Nov 17 22:49:23   
   
   I possibly find the error   
   it is one function sys   
   compile as INT->Any   
      
   Here happen something as this   
      
   f(a)==(a=3=>3333;a=1=>"float";"Er")   
      
   In instruction:   
      
   > v:=f(1);[(v="float")@Boolean,v]   
      
   return   
      
   [false, "float"]   
      
   So the v would have the type Any and not String   
      
   Instead if:   
      
   f(a)==(a=3=>"3333";a=1=>"float";"Er")   
      
   The sys compile it as PI->String   
   and the result of   
      
   > v:=f(1);[(v="float")@Boolean,v]   
      
   Is   
      
   [true, "float"]   
      
   --- 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