mlipok / Au3LibreOffice

AutoIt UDF for Libre Office API/SDK
https://www.autoitscript.com/forum/topic/210514-libreoffice-writer-udf-version-0003
MIT License
2 stars 1 forks source link

Possible Variable Conflict #67

Closed donnyh13 closed 11 months ago

donnyh13 commented 11 months ago

Bug report

Bug Report Name:

** |-->: Possible Variable Conflict

Brief Description:

** |-->: To avoid having to include several AutoIt Includes, in some functions I have declared my own Local Constant for certain flags, but named the same, as the AutoIt flag.

Describe the bug

A clear and concise description of what the bug is.
** |-->: To avoid having to include several AutoIt Includes, in some functions I declared my own Local Constant for certain flags, but named the same, as the AutoIt flag, e.g. _LOWriter_DocConnect,

Local Const $STR_STRIPLEADING = 1

For StringStripWS AutoIt Function. Do you think this will cause any issues?

How to reproduce

Steps to reproduce the behavior (e.g.):

  1. Go to '...'
  2. Call function '...' with '...'
  3. Wrong action occurred or error received

Expected behavior

A clear and concise description of what you expected to happen.
** |-->:

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.
** |-->:

System under test

Please complete the following information.

donnyh13 commented 11 months ago

Seems like it's at least an acceptable method. Never mind. https://www.autoitscript.com/forum/topic/211111-re-declaring-autoit-constants-locally/