• Error found in krpano
    -----------------------
    Hello.

    I'm currently using krpano version 1.20.9.

    txtreplace(var, searchtext, replacetext)
    works just fine, but

    txtreplace(dstvar, srcvar, searchtext, replacetext)
    shows error when used.


    Please take quick action.
    Cheers~~

    Sincerely,
    Sang-Kyu Lee

  • Hi,

    what error do you get?

    I have just tested again and it is working as it should.
    And there were no changes to that function since several releases, so it would be strange when there would be an error there.

    Here a test example that works:

    Code
    set(test,'Hello world');
    txtreplace(result, test, 'world', 'krpano');
    trace('test=',test);
    trace('result=',result);

    That should output that:

    Code
    INFO: test=Hello world
    INFO: result=Hello krpano


    Best regards,
    Klaus

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!