Q: (((following text of first "Version " of preceding text of first “Release” of it) as trimmed string & “.” & (following text of first "Release " of preceding text of first “Level” of it) as trimmed string & “.” & (following text of first "Level " of it) as trimmed string) of “Version 5 Release 6 Level 0.7”) as version
A: 5.6.0.7
Q: (((following text of first "Version " of preceding text of first “Release” of it) as trimmed string & “.” & (following text of first "Release " of preceding text of first “Level” of it) as trimmed string & “.” & (following text of first "Level " of it) as trimmed string) of “Version 5 Release 6 Level 0.7”) as version > “5.6.0.6” as version
A: True
Q: (((following text of first "Version " of preceding text of first “Release” of it) as trimmed string & “.” & (following text of first "Release " of preceding text of first “Level” of it) as trimmed string & “.” & (following text of first "Level " of it) as trimmed string) of “Version 5 Release 6 Level 0.7”) as version > “5.6.0.7” as version
A: False
Q: (((following text of first "Version " of preceding text of first “Release” of it) as trimmed string & “.” & (following text of first "Release " of preceding text of first “Level” of it) as trimmed string & “.” & (following text of first "Level " of it) as trimmed string) of “Version 5 Release 6 Level 0.7”) as version > “5.5.0.7” as version
Yes, I need to check that the version is less than for example 5.5.0.7 so I can build an action script to upgrade from 5.5.0.6 to 5.5.0.7 of the TIVsmCba software on a Solaris system
So how would the relevance be coded to add the version of pkginfo of “TIVsmCba” of pkgdb
Q: (((following text of first "Version " of preceding text of first “Release” of it) as trimmed string & “.” & (following text of first "Release " of preceding text of first “Level” of it) as trimmed string & “.” & (following text of first "Level " of it) as trimmed string) of version of pkginfo “TIVsmCba” of pkgdb as version < " as version
(((following text of first "Version " of preceding text of first “Release” of it) as trimmed string & “.” & (following text of first "Release " of preceding text of first “Level” of it) as trimmed string & “.” & (following text of first "Level " of it) as trimmed string) of
“Version 5 Release 6 Level 0.7”
) as version > “5.6.0.6” as version
Put parens around it and tell your self “this needs to be a text string”:
(((following text of first "Version " of preceding text of first “Release” of it) as trimmed string & “.” & (following text of first "Release " of preceding text of first “Level” of it) as trimmed string & “.” & (following text of first "Level " of it) as trimmed string) of
( THIS NEEDS TO BE A TEXT STRING )
) as version > “5.6.0.6” as version
Not sure if the “as string” is needed but better safe than sorry:
(((following text of first "Version " of preceding text of first “Release” of it) as trimmed string & “.” & (following text of first "Release " of preceding text of first “Level” of it) as trimmed string & “.” & (following text of first "Level " of it) as trimmed string) of
( (version of pkginfo “TIVsmCba” of pkgdb) as string)
Q: (((following text of first "Version " of preceding text of first “Release” of it) as trimmed string & “.” & (following text of first "Release " of preceding text of first “Level” of it) as trimmed string & “.” & (following text of first "Level " of it) as trimmed string) of ( (version of pkginfo “TIVsmCba” of pkgdb) ) as string ) as version > “5.6.0.6” as version
E: The operator “rimmed string” is not defined.
Q:
Can’t figure out why “The operator “rimmed string” is not defined” is in error? I don’t see any typo??
Q: ((following text of first “Version " of preceding text of first " Release” of it) & “.” & (following text of first "Release " of preceding text of first “Level” of it)) of (version of pkginfo “TIVsmCba” of pkgdb) as trimmed string
Q: ((following text of first “Version " of preceding text of first " Release” of it) & “.” & (following text of first "Release " of preceding text of first “Level” of it)) of (version of pkginfo “TIVsmCba” of pkgdb)
A: 5.5
T: 928
Q: (following text of first "Level " of it) of (version of pkginfo “TIVsmCba” of pkgdb)
A: 0.6
T: 702
Now putting it all together fails???
Q: ((following text of first “Version " of preceding text of first " Release” of it) & “.” & (following text of first "Release " of preceding text of first “Level” of it) & “.” & (following text of first "Level " of it)) of (version of pkginfo “TIVsmCba” of pkgdb)
UPDATE: This result is definitly a bug in the Solaris “qna” debugger
Running from the Solaris “qna” debugger will generate the following errors, BUT does work fine when using the second one as an analysis in the console.
Q: ((following text of first “Version " of preceding text of first " Release” of it as trimmed string) & “.” & (following text of first "Release " of preceding text of first “Level” of it as trimmed string) & “.” & (following text of first "Level " of it as trimmed string)) of (“Version 5 Release 5 Level 0.6” as trimmed string)
E: The operator “immed string” is not defined.
Q: ((following text of first “Version " of preceding text of first " Release” of it as trimmed string) & “.” & (following text of first "Release " of preceding text of first “Level” of it as trimmed string) & “.” & (following text of first "Level " of it as trimmed string)) of (version of pkginfo “TIVsmCba” of pkgdb as trimmed string)