On Thursday, February 25, 2021 10:17:07 AM EST Troy A. Griffitts wrote:
> SWBuf verse = "";
>
> verse = "jn.2.2";
>
> for (verse.size() ? module->setKeyText(verse) : (*module) = sword::TOP;
> !module->popError(); (*module)++) {
Incidentally, this example wouldn't compile for me complaining that op
On Thursday, February 25, 2021 4:40:34 PM EST Troy A. Griffitts wrote:
> This example might be useful:
>
> https://crosswire.org/svn/sword/trunk/examples/tasks/simpleRange.cpp
I've used that example in building my passage lookup. This use case is
slightly different. I specifically want to go from
This example might be useful:
https://crosswire.org/svn/sword/trunk/examples/tasks/simpleRange.cpp
On 2/25/21 10:57 AM, David "Judah's Shadow" Blue wrote:
> On Thursday, February 25, 2021 10:17:07 AM EST Troy A. Griffitts wrote:
>> SWBuf verse = "";
>>
>> verse = "jn.2.2";
>>
>> for (verse.size(
On Thursday, February 25, 2021 10:17:07 AM EST Troy A. Griffitts wrote:
> SWBuf verse = "";
>
> verse = "jn.2.2";
>
> for (verse.size() ? module->setKeyText(verse) : (*module) = sword::TOP;
> !module->popError(); (*module)++) {
Hmmnow I need to decide if I want to go outside of my package mana
SWBuf verse = "";
verse = "jn.2.2";
for (verse.size() ? module->setKeyText(verse) : (*module) = sword::TOP;
!module->popError(); (*module)++) {
On 2/25/21 7:14 AM, David "Judah's Shadow" Blue wrote:
> On Tuesday, February 23, 2021 6:17:57 PM EST Troy A. Griffitts wrote:
>> So, in your first exam
On Tuesday, February 23, 2021 6:17:57 PM EST Troy A. Griffitts wrote:
> So, in your first example, you are attempting to assign the module
> pointer to TOP and increment the module pointer, instead of the module.
> You could change that for loop to this and it should work:
>
> for ((*module) = swor
On Tuesday, February 23, 2021 6:17:57 PM EST Troy A. Griffitts wrote:
> So, in your first example, you are attempting to assign the module
> pointer to TOP and increment the module pointer, instead of the module.
> You could change that for loop to this and it should work:
>
> for ((*module) = swor
So, in your first example, you are attempting to assign the module
pointer to TOP and increment the module pointer, instead of the module.
You could change that for loop to this and it should work:
for ((*module) = sword::TOP; !module->popError(); (*module)++) {
...
}
On 2/23/21 2:53 PM, David
On Tuesday, February 23, 2021 1:47:27 PM EST Greg Hellings wrote:
> I think you need to do something like
>
> sword::SWKey* key = module->getKey(); // or module->createKey(); if you
> rather
> for(key = sword::TOP
>
> At least, I think that's what it needs...
A variant of that worked. But now I'm
I think you need to do something like
sword::SWKey* key = module->getKey(); // or module->createKey(); if you
rather
for(key = sword::TOP
At least, I think that's what it needs...
--Greg
On Tue, Feb 23, 2021 at 12:01 PM David "Judah's Shadow" Blue <
yudahssha...@gmx.com> wrote:
> I'm wanting t
I'm wanting to iterate through each key in a given module (bible, commentary,
lexdict). I tried
...
sword::SWModule *module;
module = this->swordLibrary.getModule(this->selectedModule.c_str());
for(module = sword::TOP; !module->Error(); module++)
...
and I get "error: invalid user-defined conve
11 matches
Mail list logo