inqlik / inqlik-tools

Set of tools for QlikView development in Sublime Text 3
54 stars 15 forks source link

Dollar expansions in QVS variable file #2

Closed veglar closed 10 years ago

veglar commented 10 years ago

There is an bug in the dollar expansion handling in the InQlik Variable tool. When exporting to qvs you change all $ with @ before writing it in the script, then you replace it with chr(39) not chr(36) as you should.


---
set:vL.sum
definition:sum([$(=DynExp)])

---

The current output looks like:

let vL.sum = replace(replace('sum([@(=DynExp)])','~~~', 'chr(39)'), '@(', chr(39) & '(');

but it should be: let vL.sum = replace(replace('sum([@(=DynExp)])','~~~', 'chr(39)'), '@(', chr(36) & '(');

Cheers Vegar

vadimtsushko commented 10 years ago

Fixed in release 0.1.34 Thank you for contribution

vadimtsushko commented 10 years ago

Actually I've found another bug in that export https://github.com/inqlik/inqlik-tools/issues/3 I'll try to fix it too