The info function does not handle whitespace in fieldnames in the same way throughout.
If there is a space in the fieldname, the function does not find a previous instance of the field, but manages to append the value anyway. The result is an appended value without a comma, as in these values that where created by the info function: ---- Flasköl: km.sortiment.1000,km.sortiment.1041 Cider: km.sortiment.1001,km.sortiment.1007,km.sortiment. 1005,km.sortiment.1003 Läsk: km.sortiment.1018,km.sortiment.1024,km.sortiment. 1022,km.sortiment.1020 Fatöl OBS! KG: km.sortiment.1032km.sortiment.1029 Röda Viner: km.sortiment.1045km.sortiment.1044km.sortiment. 1043km.sortiment.1042 Vita Viner: km.sortiment.1049km.sortiment.1048km.sortiment. 1047km.sortiment.1046 Mouserande Viner: km.sortiment.1051km.sortiment.1050 Sprit: km.sortiment.1052,km.sortiment.1074 Wiskey: km.sortiment.1075,km.sortiment.1088 Brandy: km.sortiment.1089 Cognac: km.sortiment.1090,km.sortiment.1091 Punsch: km.sortiment.1092,km.sortiment.1094,km.sortiment.1093 Likörer: km.sortiment.1095,km.sortiment.1134 sorter: Flasköl,Cider,Läsk,Sprit,Wiskey,Brandy,Cognac,Punsch,Likörer ---- Note how "Röda Viner" was built, even though the info function is unable to find the field. It is not a utf8 bug, note "Mouserande Viner". Note also how the fieldnames with whitespace are in descending order. The cause: BOLTInfoVar does not allow whitespace, and thus does not return anything in BOLTFinfo. Boltinfo then replaces only the $field part of "$field: $current" to create "$field: $value$current". Suggested recourse: Change the behaviour of BOLTFinfo to mirror that if BOLTInfoVar. Either fail to add the info variable, throw a warning, or allow whitespace in info variables. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/boltwire?hl=en -~----------~----~----~----~------~----~------~--~---
